<template>
  <view :style="themeColor">
    <view class="page">
      <fu-custom bgColor="bg-white" :isBack="true" :isBottom="true">
        <block slot="content">游戏介绍</block>
      </fu-custom>
      <!---flex布局flex布局开始-->
      <view class="flex benben-flex-layout flex-wrap align-center">
        <view class='flex flex-wrap align-center youxijieshao_fd1_0'>
          <image class='youxijieshao_fd1_0_c0' mode="aspectFill" :src='info.image'></image>
        </view>
        <view class='flex flex-wrap align-center youxijieshao_fd1_1'>
          <text>{{info.content}}</text>
        </view>
        <button class='youxijieshao_fd1_2' @tap.stop="handleJumpDiy" data-type="navigateTo"
          :data-url="`/pages/sy/offerPay/offerPay`">我要报名</button>
      </view>

      <!---flex布局flex布局结束-->


    </view>
  </view>
</template>
<script>
  import {
    validate
  } from '@/common/utils/validate.js'
  export default {
    components: {},


    data() {
      return {
        "info": {
          "title": "",
          "image": "",
          "start_time": "",
          "end_time": "",
          "apply_price": "",
          "status": "",
          "content": "",
          "aid": "",
          "create_time": ""
        },
        "id": "1"
      };
    },
    computed: {
      themeColor() {
        return this.$store.getters.themeColor
      },

    },
    watch: {},
    onLoad(options) {
      let {
        id
      } = options
      if (id !== undefined) this.id = id
      this.getym6572b21870a53Func()
    },
    onUnload() {

    },
    onReady() {

    },
    onShow() {

    },
    onHide() {

    },
    onResize() {

    },
    onPullDownRefresh() {

    },
    onReachBottom(e) {

    },
    onPageScroll(e) {

    },
    methods: {
      //获取游戏详情
      async getym6572b21870a53Func() {
        //请求方法
        //数据验证

        let datainfo = await this.$api.post(global.apiUrls.post6572b21870a53, {
          aid: this.id
        });

        if (datainfo.data.code != 1) {
          this.$message.info(datainfo.data.msg);
          return
        }
        let infoinfo = datainfo.data;
        this.info = infoinfo.data

      }
    }
  };
</script>
<style lang="scss" scoped>
  .page {
    width: 100vw;
    overflow-x: hidden;
    min-height: calc(100vh - var(--window-bottom));
    background: var(--benbenbgColor1);
    background-size: 100% auto;
  }

  .youxijieshao_flex_0 {
    background: #fff;
    width: 750rpx;
    height: 88rpx;
    overflow: hidden;
    z-index: 10;
    top: 0rpx;
    background-size: 100% auto !important;
  }

  .youxijieshao_fd0_0_c1_c0 {
    font-size: 36rpx;
    font-weight: 500;
    color: #333333;
    line-height: 88rpx;
  }

  .youxijieshao_fd0_0_c0_c0 {
    font-size: 36rpx;
    color: #333;
  }

  .youxijieshao_fd0_0_c0 {
    width: 120rpx;
  }

  .youxijieshao_fd0_0 {
    padding: 0rpx 32rpx 0rpx 32rpx;
  }

  .youxijieshao_fd1_2 {
    background: var(--benbenbgColor7);
    border-radius: 44rpx;
    width: 702rpx;
    line-height: 88rpx;
    font-size: 32rpx;
    color: #fff;
    position: fixed;
    bottom: calc(80rpx + var(--window-bottom));
    left: 32rpx;
  }

  .youxijieshao_fd1_1 {
    margin: 32rpx auto 0rpx auto;
    width: 702rpx;
  }

  .youxijieshao_fd1_0_c0 {
    width: 702rpx;
    height: 350rpx;
    border-radius: 16rpx;
  }

  .youxijieshao_fd1_0 {
    width: 702rpx;
    height: 350rpx;
    margin: 0rpx auto 0rpx auto;
  }
</style>